package com.qianfeng.biz.impl;

import java.util.List;

import com.qianfeng.biz.IOrderDetailBiz;
import com.qianfeng.dao.IOrderDetailDao;
import com.qianfeng.dao.impl.OrderDetailDaoImpl;
import com.qianfeng.entity.OrderDetail;

public class OrderDetailBizImpl implements IOrderDetailBiz {
	
	private IOrderDetailDao odDao = new OrderDetailDaoImpl();

	@Override
	public void addOrderDetail(OrderDetail orderDetail) {
		odDao.addOrderDetail(orderDetail);
	}

	@Override
	public List<OrderDetail> queryall() {
	
		return odDao.queryAll();
	}

	
}
